<script setup>
// 在Vue3 组合式API中
// 1. 获取路由对象 router useRouter
//    const router = useRouter()
// 2. 获取路由参数 route useRoute
//    const route = useRoute()
import { RouterView, } from 'vue-router'
import zhCN from 'element-plus/dist/locale/zh-cn.mjs'
</script>

<template>
  <div>
    <!--  路由出口   el-config-provider :locale="zhCN"  设置中英文切换   -->
    <el-config-provider :locale="zhCN">
      <RouterView></RouterView>
    </el-config-provider>
  </div>


</template>

<style scoped>

</style>
